/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package arkanoid;
import javax.ejb.Stateless;
import p3as.cliente.Ranking;


@Stateless
public class ScoreBean implements ScoreBeanInterface{
    DBScore dBScore;
    @Override
    public Ranking saveScore(String user, int score) {
        dBScore.saveScore(user, score);
        return dBScore.loadRanking(user);
        
    }

}
